﻿using System;
using System.Collections.Generic;

namespace HYCreateDuct.MethodHelp
{
	internal class DuctCompute
	{
		public double dMin { get; set; }

		public double dMax { get; set; }

		public string strRGB { get; set; }

		public List<int> RGB { get; set; }

		public static List<int> GetRGB(string rgb)
		{
			List<int> list = new List<int>();
			string[] array = rgb.Split(new char[]
			{
				','
			});
			for (int i = 0; i < array.Length; i++)
			{
				if (!string.IsNullOrEmpty(array[i]))
				{
					int item = int.Parse(array[i]);
					list.Add(item);
				}
			}
			return list;
		}
	}
}
